<style scoped>

</style>
<template>
  <HeaderSlot>
    <van-nav-bar :title="$t('佣金类型说明')" left-arrow @click-left="href_handle(-1)" />
  </HeaderSlot>
  <van-cell-group v-for="row in kickback_type" inset :title="row.title">
    <van-cell>
      <template #title>
        {{row.info}}
      </template>
    </van-cell>
  </van-cell-group>
</template>

<script>
import {ajax} from "@/js/api_tool.js";
import HeaderSlot from "@/components/slot/HeaderSlot.vue";
import {href_handle} from "@/vue_plugin/router_auto.js";

export default {
  components: {HeaderSlot},
  data(){
    return {
      kickback_type: [],
    }
  },
  methods:{
    href_handle,
    init(){
      ajax('/home/user/kickback_type_map', res=>{
        this.kickback_type = res.data;
      })
    }
  },
  computed:{},
  mounted(){
    this.init();
  }
}
</script>